package com.link.speechdemo.bean;

import java.util.List;

/**
 * Created by link on 2016/11/9.
 */

public class MusicJsonBean {

    /**
     * header :
     * url : http://kcbj.openspeech.cn/service/iss?wuuid=66f62942f8bc6d5355ee1bad38baa792&ver=2.0&method=webPage&uuid=8702d9ed68df228203d191fbde3e215cquery
     */

    private WebPageBean webPage;
    /**
     * slots : {"artist":"刘德华","song":"忘情水"}
     */

    private SemanticBean semantic;
    /**
     * webPage : {"header":"","url":"http://kcbj.openspeech.cn/service/iss?wuuid=66f62942f8bc6d5355ee1bad38baa792&ver=2.0&method=webPage&uuid=8702d9ed68df228203d191fbde3e215cquery"}
     * semantic : {"slots":{"artist":"刘德华","song":"忘情水"}}
     * rc : 0
     * operation : PLAY
     * service : music
     * data : {"result":[{"singer":"刘德华","sourceName":"自产音乐","name":"忘情水","downloadUrl":"http://file.kuyinyun.com/group1/M00/52/54/rBBGdFO10gGAV2YSABeMNNnn7Sc042.mp3"},{"singer":"刘德华","sourceName":"自产音乐","name":"忘情水","downloadUrl":"http://file.kuyinyun.com/group1/M00/93/7F/rBBGdFPX2iqACqkDABePVqFGeuc579.mp3"},{"singer":"刘德华","sourceName":"自产音乐","name":"忘情水","downloadUrl":"http://file.diyring.cc/UserRingWorksFile/0/50286090.mp3"},{"singer":"刘德华","sourceName":"自产音乐","name":"忘情水","downloadUrl":"http://file.diyring.cc/UserRingWorksFile/0/50288292.mp3"}]}
     * text : 播放刘德华的忘情水
     */

    private int rc;
    private String operation;
    private String service;
    private DataBean data;
    private String text;

    public WebPageBean getWebPage() {
        return webPage;
    }

    public void setWebPage(WebPageBean webPage) {
        this.webPage = webPage;
    }

    public SemanticBean getSemantic() {
        return semantic;
    }

    public void setSemantic(SemanticBean semantic) {
        this.semantic = semantic;
    }

    public int getRc() {
        return rc;
    }

    public void setRc(int rc) {
        this.rc = rc;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public String getService() {
        return service;
    }

    public void setService(String service) {
        this.service = service;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public static class WebPageBean {
        private String header;
        private String url;

        public String getHeader() {
            return header;
        }

        public void setHeader(String header) {
            this.header = header;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }

    public static class SemanticBean {
        /**
         * artist : 刘德华
         * song : 忘情水
         */

        private SlotsBean slots;

        public SlotsBean getSlots() {
            return slots;
        }

        public void setSlots(SlotsBean slots) {
            this.slots = slots;
        }

        public static class SlotsBean {
            private String artist;
            private String song;

            public String getArtist() {
                return artist;
            }

            public void setArtist(String artist) {
                this.artist = artist;
            }

            public String getSong() {
                return song;
            }

            public void setSong(String song) {
                this.song = song;
            }
        }
    }

    public static class DataBean {
        /**
         * singer : 刘德华
         * sourceName : 自产音乐
         * name : 忘情水
         * downloadUrl : http://file.kuyinyun.com/group1/M00/52/54/rBBGdFO10gGAV2YSABeMNNnn7Sc042.mp3
         */

        private List<ResultBean> result;

        public List<ResultBean> getResult() {
            return result;
        }

        public void setResult(List<ResultBean> result) {
            this.result = result;
        }

        public static class ResultBean {
            private String singer;
            private String sourceName;
            private String name;
            private String downloadUrl;

            public String getSinger() {
                return singer;
            }

            public void setSinger(String singer) {
                this.singer = singer;
            }

            public String getSourceName() {
                return sourceName;
            }

            public void setSourceName(String sourceName) {
                this.sourceName = sourceName;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getDownloadUrl() {
                return downloadUrl;
            }

            public void setDownloadUrl(String downloadUrl) {
                this.downloadUrl = downloadUrl;
            }
        }
    }
}
